﻿
using System;
using System.Data;
using System.Data.SqlClient;
namespace Model
{
	
	/// <summary>	 
	/// 英文版系统设计
	/// </summary>
	public class DbEnSystem
	{ 
		#region DbEnSystem
		/// <summary>
		/// 
		/// </summary>
		public DbEnSystem()
		{
		}
		/// <summary>	 
		/// 
		/// </summary>
		public DbEnSystem(Int32 sId)
		{
			this.sId = sId;
		
		}
		/// <summary>	 
		/// 
		/// </summary>		
		public DbEnSystem(DataRow dr)
		{
			int.TryParse(Convert.ToString(dr["sId"]),out sId);
			this.sWebName = Convert.ToString(dr["sWebName"]);
			this.sTitle = Convert.ToString(dr["sTitle"]);
			this.sKeywords = Convert.ToString(dr["sKeywords"]);
			this.sDescription = Convert.ToString(dr["sDescription"]);
			this.sIcon = Convert.ToString(dr["sIcon"]);
			this.sLogo = Convert.ToString(dr["sLogo"]);
			this.sContactName = Convert.ToString(dr["sContactName"]);
			this.sWeb400 = Convert.ToString(dr["sWeb400"]);
			this.sWebUrl = Convert.ToString(dr["sWebUrl"]);
			this.sAddress = Convert.ToString(dr["sAddress"]);
			this.sEmail = Convert.ToString(dr["sEmail"]);
			this.sBottom = Convert.ToString(dr["sBottom"]);
			if(dr["sEditTime"] != DBNull.Value)
				this.sEditTime = Convert.ToDateTime(dr["sEditTime"]);
			this.sIsUrlReWrite = Convert.ToInt16(dr["sIsUrlReWrite"]);
			this.sWebStatus = Convert.ToInt16(dr["sWebStatus"]);
			this.sWebStopAlter = Convert.ToString(dr["sWebStopAlter"]);
			this.sDefaultPayId = Convert.ToString(dr["sDefaultPayId"]);
			this.sDefaultPayName = Convert.ToString(dr["sDefaultPayName"]);
			this.sIfBackMusic = Convert.ToInt16(dr["sIfBackMusic"]);
			this.sBackMusicPath = Convert.ToString(dr["sBackMusicPath"]);
			
		}
		#endregion
		
		
		#region SId
		private Int32 sId;
		/// <summary>	 
		/// 
		/// AutoInc
		/// PK
		/// </summary>
		public Int32 SId
		{
			get{ return sId; }
			set{ sId= value; }
		}
		#endregion
		
		#region SWebName
		private System.String sWebName;
		/// <summary>	 
		/// 站点名称
		/// </summary>
		public System.String SWebName
		{
			get{ return sWebName; }
			set{ sWebName= value; }
		}
		#endregion
		
		#region STitle
		private System.String sTitle;
		/// <summary>	 
		/// 站点标题
		/// </summary>
		public System.String STitle
		{
			get{ return sTitle; }
			set{ sTitle= value; }
		}
		#endregion
		
		#region SKeywords
		private System.String sKeywords;
		/// <summary>	 
		/// 关键词
		/// </summary>
		public System.String SKeywords
		{
			get{ return sKeywords; }
			set{ sKeywords= value; }
		}
		#endregion
		
		#region SDescription
		private System.String sDescription;
		/// <summary>	 
		/// 站点描述
		/// </summary>
		public System.String SDescription
		{
			get{ return sDescription; }
			set{ sDescription= value; }
		}
		#endregion
		
		#region SIcon
		private System.String sIcon;
		/// <summary>	 
		/// 地址栏图标
		/// </summary>
		public System.String SIcon
		{
			get{ return sIcon; }
			set{ sIcon= value; }
		}
		#endregion
		
		#region SLogo
		private System.String sLogo;
		/// <summary>	 
		/// LOGO图片
		/// </summary>
		public System.String SLogo
		{
			get{ return sLogo; }
			set{ sLogo= value; }
		}
		#endregion
		
		#region SContactName
		private System.String sContactName;
		/// <summary>	 
		/// 联系人
		/// </summary>
		public System.String SContactName
		{
			get{ return sContactName; }
			set{ sContactName= value; }
		}
		#endregion
		
		#region SWeb400
		private System.String sWeb400;
		/// <summary>	 
		/// 服务电话
		/// </summary>
		public System.String SWeb400
		{
			get{ return sWeb400; }
			set{ sWeb400= value; }
		}
		#endregion
		
		#region SWebUrl
		private System.String sWebUrl;
		/// <summary>	 
		/// 网址
		/// </summary>
		public System.String SWebUrl
		{
			get{ return sWebUrl; }
			set{ sWebUrl= value; }
		}
		#endregion
		
		#region SAddress
		private System.String sAddress;
		/// <summary>	 
		/// 联系地址
		/// </summary>
		public System.String SAddress
		{
			get{ return sAddress; }
			set{ sAddress= value; }
		}
		#endregion
		
		#region SEmail
		private System.String sEmail;
		/// <summary>	 
		/// 电子邮件
		/// </summary>
		public System.String SEmail
		{
			get{ return sEmail; }
			set{ sEmail= value; }
		}
		#endregion
		
		#region SBottom
		private System.String sBottom;
		/// <summary>	 
		/// 站点底部内容
		/// </summary>
		public System.String SBottom
		{
			get{ return sBottom; }
			set{ sBottom= value; }
		}
		#endregion
		
		#region SEditTime
		private DateTime sEditTime;
		/// <summary>	 
		/// 编辑时间
		/// </summary>
		public DateTime SEditTime
		{
			get{ return sEditTime; }
			set{ sEditTime= value; }
		}
		#endregion
		
		#region SIsUrlReWrite
		private Int16 sIsUrlReWrite;
		/// <summary>	 
		/// 是否URL重写
		/// </summary>
		public Int16 SIsUrlReWrite
		{
			get{ return sIsUrlReWrite; }
			set{ sIsUrlReWrite= value; }
		}
		#endregion
		
		#region SWebStatus
		private Int16 sWebStatus;
		/// <summary>	 
		/// 站点状态
		/// </summary>
		public Int16 SWebStatus
		{
			get{ return sWebStatus; }
			set{ sWebStatus= value; }
		}
		#endregion
		
		#region SWebStopAlter
		private System.String sWebStopAlter;
		/// <summary>	 
		/// 关站信息提示
		/// </summary>
		public System.String SWebStopAlter
		{
			get{ return sWebStopAlter; }
			set{ sWebStopAlter= value; }
		}
		#endregion
		
		#region SDefaultPayId
		private System.String sDefaultPayId;
		/// <summary>	 
		/// 默认在线支付Id
		/// </summary>
		public System.String SDefaultPayId
		{
			get{ return sDefaultPayId; }
			set{ sDefaultPayId= value; }
		}
		#endregion
		
		#region SDefaultPayName
		private System.String sDefaultPayName;
		/// <summary>	 
		/// 默认在线支付名
		/// </summary>
		public System.String SDefaultPayName
		{
			get{ return sDefaultPayName; }
			set{ sDefaultPayName= value; }
		}
		#endregion
		
		#region SIfBackMusic
		private Int16 sIfBackMusic;
		/// <summary>	 
		/// 背景音乐
		/// </summary>
		public Int16 SIfBackMusic
		{
			get{ return sIfBackMusic; }
			set{ sIfBackMusic= value; }
		}
		#endregion
		
		#region SBackMusicPath
		private System.String sBackMusicPath;
		/// <summary>	 
		/// 背景音乐路径
		/// </summary>
		public System.String SBackMusicPath
		{
			get{ return sBackMusicPath; }
			set{ sBackMusicPath= value; }
		}
		#endregion

	}
}
